package com.classinit.order;

import java.io.Closeable;

public class Person extends Object implements Cloneable{
	public String name;
	public static String tag=Person.class.getName();
	private static Person instance;
	public Person(){
		
	}
	static{
		System.out.println("static:"+tag);
	}
	public static Person getInstance(){
		if(instance==null){
			instance=new Person();
			System.out.println("getInstance:"+tag);
		}
		return instance;
	}
	
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
}
